package com.enlorenz.common.excel;

import com.enlorenz.core.enu.BaseEnum;

/**
 * 列宽调整模式
 * @author Karma
 */
public enum SizeColumnModel implements BaseEnum<SizeColumnModel>{
	SIZE_ALL(0,"调整所有列的宽度"),
	SIZE_NO_PARAM(1,"只调整没有指定列宽的列"),
	SIZE_NONE(2,"不自动调整");
	
	private Object value;
	private String desp;
	private String detail;
	
	private SizeColumnModel(Object value,String desp){
		this.value=value;
		this.desp=desp;
	}
	
	public String toString(){
		return value+":"+desp;
	}

	public Object getValue() {
		return value;
	}

	public void setValue(Object value) {
		this.value = value;
	}

	public String getDesp() {
		return desp;
	}

	public void setDesp(String desp) {
		this.desp = desp;
	}

	public String getDetail() {
		return detail;
	}

	public void setDetail(String detail) {
		this.detail = detail;
	}
}
